import './App.css'
import { MainLayout } from './pages/MainLayout'
import { ConfigProvider } from 'antd';
import zhCN from 'antd/locale/zh_CN';

const globalConfig = {
  borderRadius: 2,
}


function App() {
  return (
    <ConfigProvider locale={zhCN} theme={{token: {
      borderRadius: globalConfig.borderRadius
    }}}>
      <MainLayout />
    </ConfigProvider>
  )
}

export default App
